Language

public enum Language

A list of supported user interface languages.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
public static Optional<Language> of(Locale locale)
Returns an Optional that contains the Language for the given Locale or an empty Optional if there is no Language associated with the language obtained from the given Locale.
public static Optional<Language> of(String language, String country)
Returns an Optional that contains the Language for the given language and country codes or an empty Optional if there is no Language associated with the specified language and country codes.
Link copied to clipboard
public String toString()
Returns a string representation of the current language in format:
<language code>SEPARATOR<country code>
where SEPARATOR is a platform dependent symbol (either "_" or "-").
Link copied to clipboard
public static Language valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<Language> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.